.item-box {
    margin:  20rpx;
    padding-left: 20rpx;
    padding-right: 20rpx;
    background-color: #FFFFFF;
    border-radius: 12rpx;
    position: relative;
    width: 90%;


    .store-box {
        .store-name {
            font-size: 32rpx;
            line-height: 48rpx;
            font-weight: 500;
        }

        .store-distance {
            font-size: 28rpx;
            line-height: 44rpx;
            color: #999999;
            margin-left: 20rpx;

            .position-icon {
                font-size: 28rpx;
                margin-right: 8rpx;
            }
        }

        .store-address,
        .store-business {
            font-size: 28rpx;
            line-height: 42rpx;
            color: #999999;
            margin-top: 4rpx;
        }
    }

    .address-box {
        .position-icon {
            font-size: 32rpx;
            margin-right: 32rpx;
        }

        .user-address {
            font-size: 32rpx;
            line-height: 50rpx;
            color: #333333;
            font-weight: 500;
            flex: 1;
            overflow: hidden;
        }

        .user-info {
            font-size: 28rpx;
            color: #999999;
            line-height: 40rpx;
            margin-left: 65rpx;
        }

        .store-name {
            font-size: 26rpx;
            color: #999999;
            line-height: 42rpx;
            margin-top: 4rpx;
            flex: 1;
            overflow: hidden;

            .store-icon {
                font-size: 28rpx;
                margin-right: 6rpx;
            }
        }
    }

    .address-empty {
        margin: 30rpx 88rpx;
        height: 82rpx;
        border-radius: 8rpx;
        border: 3rpx dashed #CCCCCC;
        font-size: 30rpx;
        color: #666666;
        line-height: 36rpx;
    }

    .item-list {
        padding-top: 26rpx;
        padding-bottom: 26rpx;

        .item-value {
            font-size: 30rpx;
            line-height: 42rpx;
            color: #333333;

            &.item-sub-value {
                color: #666666;
            }
        }

        .actual-delivery-fee {
            font-size: 24rpx;
            color: #999999;
            line-height: 42rpx;
            position: relative;
            margin-right: 10rpx;

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: -4rpx;
                bottom: 0;
                right: 0;
                margin: auto;
                width: calc(100% + 8rpx);
                height: 2rpx;
                background-color: #999999;
                margin-top: auto;
                margin-right: auto;
                margin-bottom: auto;
                margin-left: auto;
            }
        }

        .delivery-tip {
            font-size: 24rpx;
            color: #F2B525;
            line-height: 40rpx;
        }

        .item-input {
            width: 300rpx;
            text-align: right;
        }

        &.integral-box {
            padding: 10rpx 0 20rpx;

            .integral-icon {
                font-size: 40rpx;
                color: #FCA315;
                margin-left: 10rpx;
            }

            .integral-right {
                flex: 1;
                overflow: hidden;
                margin-left: 30rpx;
                margin-right: -20rpx;

                .integral-right-top {

                    .integral-title {
                        font-size: 30rpx;
                        color: #1E1E1E;
                        line-height: 38rpx;
                    }

                    .integral-input-box {
                        .integral-input {
                            width: 124rpx;
                            height: 52rpx;
                            border-radius: 8rpx;
                            background-color: #F2F3F5;
                            font-size: 28rpx;
                            line-height: 36rpx;
                            color: #1E1E1E;
                            text-align: center;
                        }
                    }
                }

                .integral-text {
                    font-size: 26rpx;
                    line-height: 34rpx;
                    color: #929397;
                    margin-top: 6rpx;
                }
            }
        }

        &.discount-box {
            .discount-title {
                font-size: 30rpx;
                line-height: 38rpx;
                color: #1E1E1E;
            }

            .discount-info {
                font-size: 30rpx;
                line-height: 38rpx;
                color: #666666;
            }

            .discount-sub-title {
                font-size: 28rpx;
                line-height: 44rpx;
                color: #929397;

                .primary {
                    margin-left: 20rpx;
                }
            }

            .discount-sub-value {
                font-size: 28rpx;
                line-height: 44rpx;
                color: #666666;

                &.crossed-value {
                    color: #999999;
                    position: relative;
                    margin-right: 10rpx;

                    &::before {
                        content: "";
                        position: absolute;
                        top: 0;
                        left: -4rpx;
                        bottom: 0;
                        right: 0;
                        margin: auto;
                        width: calc(100% + 8rpx);
                        height: 2rpx;
                        background-color: #999999;
                        margin-top: auto;
                        margin-right: auto;
                        margin-bottom: auto;
                        margin-left: auto;
                    }
                }
            }
        }
    }

    .goods-list {
        padding: 20rpx 0;
        position: relative;

        &.goods-invalid-box {
            opacity: 0.6;

            .goods-invalid-tip {
                font-size: 22rpx;
                color: #FFFFFF;
                line-height: 42rpx;
                padding: 0 16rpx;
                background-color: rgba(0, 0, 0, 0.95);
                border-radius: 22rpx;
                position: absolute;
                top: 56rpx;
                left: 16rpx;
            }
        }

        .goods-image {
            position: relative;
            background-color: #F6F6F6;
            border-radius: 12rpx;
            width: 152rpx;
            height: 152rpx;

            .goods-dis-tag {
                border-top: 32rpx solid #FF3D3D;
                border-right: 32rpx solid #FF3D3D;
                border-top-right-radius: 12rpx;
                position: absolute;
                top: 0;
                right: 0;
                border-left: 32rpx solid transparent;
                border-bottom: 32rpx solid transparent;

                &::after {
                    content: "折";
                    font-size: 24rpx;
                    line-height: 12px;
                    color: #FFFFFF;
                    position: absolute;
                    top: -24rpx;
                    right: -28rpx;
                    width: 32rpx;
                    height: 24rpx;
                    text-align: center;
                }
            }
        }

        .goods-right-box {
            flex: 1;
            min-height: 152rpx;
            padding: 6rpx 0 12rpx 28rpx;
            overflow: hidden;
            align-items: flex-start;

            .goods-name {
                flex: 1;
                font-size: 28rpx;
                color: #333333;
                line-height: 36rpx;
                overflow: hidden;
            }

            .goods-sku,
            .goods-num {
                font-size: 26rpx;
                line-height: 42rpx;
                margin-top: 4rpx;
            }

            .goods-sku {
                color: #666666;
            }

            .goods-num {
                color: #999999;
                margin-left: 20rpx;
            }

            .goods-price {
                font-weight: 500;
                font-size: 28rpx;
                line-height: 44rpx;
                margin-top: 4rpx;
            }

            .price-discount {
                padding: 0 8rpx;
                border-radius: 4rpx;
                font-size: 20rpx;
                line-height: 28rpx;
                color: #FFFFFF;
                background-color: var(--primary-color);
                margin-left: 16rpx;
            }

            .price-integral-text {
                font-size: 28rpx;
                line-height: 44rpx;
                color: #666666;
                margin-left: 12rpx;
            }

            .crossed-price {
                font-size: 26rpx;
                line-height: 42rpx;
                color: #999999;
                margin-top: 4rpx;
                position: relative;
                display: inline-flex;
                // text-decoration: line-through;

                &::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: -4rpx;
                    bottom: 0;
                    right: 0;
                    margin: auto;
                    width: calc(100% + 8rpx);
                    height: 2rpx;
                    background-color: #999999;
                    margin-top: auto;
                    margin-right: auto;
                    margin-bottom: auto;
                    margin-left: auto;
                }

                .vip-price-icon,
                .plus-price-icon {
                    background-color: #999999;
                }

                .plus-price-color,
                .price-color {
                    color: #999999;
                }
            }
        }
    }

    &.vip-box {
        padding: 0;

        .vip-info-box {
            background: linear-gradient(180deg, rgba(var(--primary-rgb-color), 0.1) 0%, rgba(255, 255, 255, 0.92) 100%);
            padding: 36rpx 20rpx 38rpx;
            border-radius: 12rpx 12rpx 0 0;

            .vip-right {
                flex: 1;
                overflow: hidden;
                margin-left: 20rpx;

                .vip-info-top {
                    width: 100%;

                    .vip-name-box {
                        flex: 1;
                        overflow: hidden;
                        font-size: 30rpx;
                        line-height: 38rpx;
                        color: #1E1E1E;

                        .plus-vip-icon {
                            font-size: 69rpx;
                            margin-left: 4rpx;
                            color: #BE9161;
                        }

                        .vip-icon {
                            font-size: 69rpx;
                            margin-left: 4rpx;
                            color: #E88752;
                        }
                    }
                }
            }
        }

        .coupon-box {
            height: 94rpx;
            padding: 0;

            .coupon-left {
                .coupon-icon {
                    font-size: 40rpx;
                    margin-right: 30rpx;
                    margin-left: 10rpx;
                    background: -webkit-linear-gradient(135deg, #EFCA84 0%, #DFAB47 100%);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                }

                .coupon-text {
                    font-size: 30rpx;
                    line-height: 36rpx;
                    color: #1E1E1E;
                }
            }

            .coupon-right {
                font-size: 30rpx;
                line-height: 36rpx;

                .coupon-tips {
                    color: #5F6267;
                }

                .coupon-pl {
                    color: #929397;
                }
            }

        }

        .vip-info-text {
            font-size: 28rpx;
            color: #929397;
            line-height: 36rpx;
            white-space: nowrap;

            &+.vip-info-text {
                margin-left: 20rpx;
            }
        }
    }

    .remark-textarea {
        width: 100%;
        height: 202rpx;
        line-height: 36rpx;
        font-size: 30rpx;
        color: #333333;
        padding-bottom: 52rpx;
    }

    .textarea-pl {
        line-height: 36rpx;
        font-size: 30rpx;
        color: #999999;
    }

    .textarea-count-tip {
        position: absolute;
        bottom: 16rpx;
        right: 20rpx;
        font-size: 26rpx;
        line-height: 34rpx;
        color: #CCCCCC;
    }

    .right-icon {
        font-size: 26rpx;
        padding: 10rpx;
        margin: 0 -10rpx 0 2rpx;
        color: #999999;
    }
}


.text-box_pay {
    width: 250px; /* 容器宽度，根据需要调整 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制在两行 */
    -webkit-box-orient: vertical;
    // line-height: 1.5em; /* 行高，根据需要调整 */
    // max-height: 2.4em; /* 最大高度，这里是行高的两倍 */
  }